package pl.edu.pw.MidEmu.UI.Views;

import java.util.Hashtable;

import pl.edu.pw.MidEmu.Base.Views.BaseView;
import pl.edu.pw.MidEmu.Common.Models.CBRDModel;
import pl.edu.pw.MidEmu.Common.Models.MidasModel;
import pl.edu.pw.MidEmu.Logic.ProcessHandler;
import pl.edu.pw.MidEmu.UI.Components.MidasComponent;

/**
 * View interface used for loading CBRD component
 * @author Mateusz Starodab
 *
 */
public interface CBRDLoaderView extends BaseView
{
	void dispose();

	String getBinDir();

	String getCBRid();

	String getCDRBExecutableFileName();

	MidasComponent getCentralNodeModel();

	MidasModel getParentMidasModel();

	void registerCBRDServer(CBRDModel model, ProcessHandler handler);

	void reportValidationErrors();

	void showPickupBinDirDialog();

	boolean validateCBRD();

	Hashtable<String, String> getNodesIDsAndIPs();

	Hashtable<String, String> getNodesInterfacesAndIPS();

}
